package shiqi.service.user;

import shiqi.model.User;
import shiqi.vo.UserVo;

/**
 * @author shiqi
 * @createTime 2022/3/17 16:05
 * @desc 用户服务接口
 */
public interface UserService {

    /**
     * @author shiqi
     * @createTime 2022/3/17 16:13
     * @desc 登录
     * @param  vo
     * @return boolean
     */
    boolean login(UserVo vo) throws IllegalAccessException;

    /**
     * 根据id搜索用户
     * @param id
     * @return
     */
    User searchById(Long id);
}
